{
  "properties" : { },
  "id" : "82328454a45f42758bbf7982c5d826f8",
  "script" : null,
  "groupId" : "5cec3d7ac81d478c81f6046ed83ab5da",
  "name" : "新增告警指标",
  "createTime" : 1727070908135,
  "updateTime" : 1724893588315,
  "lock" : "1",
  "createBy" : "ndmp",
  "updateBy" : "ndmp",
  "path" : "save",
  "method" : "POST",
  "parameters" : [ ],
  "options" : [ ],
  "requestBody" : "{\n    \"code\":\"99999\",\n    \"metircCategory\":\"1\",\n    \"metircDescr\":\"ceshi\",\n    \"metircName\":\"kkkkk\",\n    \"metircTypeId\":\"12\"\n}",
  "headers" : [ ],
  "paths" : [ ],
  "responseBody" : "{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"data\": 34\n}",
  "description" : null,
  "requestBodyDefinition" : null,
  "responseBodyDefinition" : null
}
================================
return db.insert("""
    insert into alarm_metric(code,metirc_category,metirc_descr,metirc_name,metirc_type_id) 
    values (#{body.code}, #{body.metircCategory},#{body.metircDescr},#{body.metircName},#{body.metircTypeId})
""", 'id')